.class public Lcom/xingbook/huiben/adapter/a;
.super Lcom/xingbook/park/a/a;


# direct methods
.method public constructor <init>(Landroid/app/Activity;Lcom/xingbook/park/c/a/p;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/xingbook/park/a/a;-><init>(Landroid/app/Activity;Lcom/xingbook/park/c/a/p;)V

    return-void
.end method


# virtual methods
.method public a(IZ)Lcom/xingbook/park/c/a/n;
    .locals 4

    const/4 v1, 0x0

    const/16 v0, 0x70

    if-ne p1, v0, :cond_0

    new-instance v1, Lcom/xingbook/huiben/b/b;

    iget-object v0, p0, Lcom/xingbook/huiben/adapter/a;->b:Landroid/app/Activity;

    iget v2, p0, Lcom/xingbook/huiben/adapter/a;->a:F

    invoke-direct {v1, v0, v2}, Lcom/xingbook/huiben/b/b;-><init>(Landroid/app/Activity;F)V

    :cond_0
    if-eqz v1, :cond_1

    instance-of v0, v1, Lcom/xingbook/service/download/m;

    if-eqz v0, :cond_1

    iget-object v2, p0, Lcom/xingbook/huiben/adapter/a;->e:Ljava/util/ArrayList;

    new-instance v3, Ljava/lang/ref/WeakReference;

    move-object v0, v1

    check-cast v0, Lcom/xingbook/service/download/m;

    invoke-direct {v3, v0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_1
    return-object v1
.end method
